from django.conf.urls import patterns, include, url

from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 'djblog.views.home', name='home'),
    # url(r'^blog/', include('blog.urls')),
    # potter
    url(r'^', include('blog.urls')),
    url(r'^category/(?P<pk>\d+)/$', 'blog.views.category', name='category'),

    url(r'^admin/', include(admin.site.urls)),
    
)
#urlpatterns = patterns('',
#    url(r"^$", "blog.views.index", name="index"),
#    url(r"^post/(?P<pk>\d+)/$", "blog.views.post", name="post"),
#)

